﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VicMessenger.DB;
using VicMessenger.DAL;

namespace VicMessenger.BLL
{
    public class CustomFieldTemplateBLL
    {
        public static List<proc_CustomeFieldTemplate_SelectResult> GetCustomFieldTemplate(int? prmCampaignID)
        {
            try
            {
                return CustomFieldTemplateDAL.GetCustomFieldTemplate(prmCampaignID);
            }
            catch (Exception)
            {

                return null;
            }

        }

        public static long? InsertUpdateCustomFieldTemplate(proc_CustomeFieldTemplate_SelectResult prmTemplate)
        {
            try
            {
                return CustomFieldTemplateDAL.InsertUpdateCustomFieldTemplate(prmTemplate);
            }
            catch (Exception)
            {

                return null;
            }
        }
    }
}
